{**
 * DMTK.tpl: hien thi cho xem cac tai khoan trong DMuc
 *
 *}

{strip}
{assign var="pageTitle" value="Danh muc Tai Khoan"}
{assign var="socot" value="4"}
{include file="common/header.tpl"}
{/strip}


<div class = "DMtitle" >
<strong>DANH MỤC LOẠI TIỀN TỆ</strong>
</div>
{*	
<div class = "search">
<form method="post" action="{url page='acctKT' op='KT_DANHMUC' ChiTiet = 'NT'}>
	<select name="searchField" size="1" class="selectMenu">
		{html_options options=$fieldOptions selected=$searchField}
	</select>
	<select name="searchMatch" size="1" class="selectMenu">
		<option value="contains"{if $searchMatch == 'contains'} selected="selected"{/if}>C&#243; ch&#7913;a</option>
		<option value="is"{if $searchMatch == 'is'} selected="selected"{/if}>L&#224;</option>
		<option value="startsWith"{if $searchMatch == 'startsWith'} selected="selected"{/if}>B&#7855;t &#273;&#7847;u l&#224; </option>
	</select>
	<input type="text" size="10" name="search" class="textField" value="{$search|escape}" />&nbsp;<input type="submit" value="{translate key="common.search"}" class="button" />
</form>
</div>

<div style="width:50%;  margin-left: auto; margin-right: auto;">
<a class="action"  href="#" id="{url op="createDMTK"}">Thêm Ngoại tệ</a>
</div>
<br>
<br>
*}
<div id="sections">

<table style="width:50%;  margin-left: auto; margin-right: auto;" id="customers">
	<tr valign="bottom">
		<th width="35%">M&#227; Tiền tệ</th>
		<th width="50%">Loại tiền tệ</th>
		{*
		<th width="15%" align="right">{translate key="common.action"}</th>
		*}
	</tr>

	

{assign var="stt" value="0"}
{iterate from=dms item=dmtk name=dms}
	{if $stt ==0}
		{assign var="stt" value="1"}
		<tr valign="top" >
			{assign var = "matk" value = $dmtk->getmant()}
			<td class="drag">{$dmtk->getmant()|escape}</td>
			<td class="drag">{$dmtk->gettennt()|escape}</td>
			{*
			<td align="right" class="nowrap">
				<a href="{url op="editDMTK" path=$dmtk->getmant()}" class="action">{translate key="common.edit"}</a>&nbsp;|&nbsp;<a href="{url op="deleteDMTK" path=$dmtk->getmant()}" onclick="return confirm('{translate|escape:"jsparam" key={"Xoa Tai Khoan  $matk"}}')" class="action">{translate key="common.delete"}</a>
			</td>
			*}
		</tr>
	{else}
		{assign var="stt" value="0"}
		<tr valign="top" class="alt">
			{assign var = "matk" value = $dmtk->getmant()}
			<td class="drag">{$dmtk->getmant()|escape}</td>
			<td class="drag">{$dmtk->gettennt()|escape}</td>
			{*
			<td align="right" class="nowrap">
				<a href="{url op="editDMTK" path=$dmtk->getmant()}" class="action">{translate key="common.edit"}</a>&nbsp;|&nbsp;<a href="{url op="deleteDMTK" path=$dmtk->getmant()}" onclick="return confirm('{translate|escape:"jsparam" key={"Xoa Tai Khoan  $matk"}}')" class="action">{translate key="common.delete"}</a>
			</td>
			*}
		</tr>
	{/if}

{/iterate}

<tr>
	<td colspan="{$socot}" class="endseparator">&nbsp;</td>
</tr>

</table>
</div>

{include file="common/footer.tpl"}

